Chain gets tangled

no it’s not lubrication you need to make sure your chains are paralled to the work surface or you can also make or 3d print some chain guides.