trying to fix rails