adapt to activeadmin files