fix thread time interval