Ensure param2 is set correctly in transformLiquids