fix failing test case