fix to work with older rails_admin