solving the issue