remove before filter on photo gallery, remove an unneeded method and view