add some comments, remove useless if
aaa