fixed issue in rails admin