remove sleep and so on