fixed test case failure.