fix problems with mode, 1 failing test left