remove unusfull codes