mistake
Possible error
removed useless if
g