fix rails generator