bugfixed

test case6 passed( in my unbent)