removing else block