fix for RailsAdmin