I delete 'else' statement and changed it to make it more readable

Comment From: snicoll

@ShinDongHun1 thanks but that kind of stylistic change is quite subjective and we don't usually accept such a PR. Besides, I don't see a problem with the current code.