going to sleep, comit for safety only