I am synthesizing biodiesel from castor oil over polystyrene nanoparticles as catalyst. Two different phases are separated in the separating funnel.but when i try to separate them, the upper layer (biodiesel )comes first mixed with glycerol not the lower layer (glycerol). Please tell the reason behind this. Is this due to FFA content present in the oil