fix pundit not being loaded