fixed failing testcase