remove wrong and unnecessary code