Fix rails admin bug