remove useless comments and code