fix sleep_interval