Fixed liquid condition and dupe bug