remove unnecessary else branch

remove unnecessary else branch