fix time storage and change status