Remove extra beforeFilter()