fix schedule issue based on pcdevil's issue