bug fixed for test case 16