Fix to make activeadmin work