minor changes

removed else block