Removed  duplicated code

Twice use of return not neccessary