fix rails properly...