Fixing an issue in the view