push the default case up
an object is always yielded, so eliminate the conditional