Fix the issue with the code