removed unneeded "else" statements

As every if have return statement else are not needed