Removed wrong do-keyword from if block