fix bug with activeadmin