Fixing issue regarding view