Fixing issue regarding multiple view