fix cell lock bug and change the sleep time