fixes failing test case