clean up code

comments are fixed and duplicate tab was deleted