fix lost_time for new and edit page