fix extract liquid code