fix the fall asleep problem in a hacky way