Fix issue in code