fixed expires field inserting false in date type