fixing issue in the test tc51