fix sleep time