removed unused condition
more test coverage