1. remove unused file. 2.refactor code.  3. fix interruption isEmpty check bug