fixed some improper liquid logic