fixed setter logic fail

deleted unnecessary else statement