fixed compile issue but 1 test is still failing