Fix for activeadmin issue