changed the before filter contion to except show and index