remove empty empty function that redeclared in this module
delete unreachable code
fix possible error
remove one more unused import