fix rails root issue