fix with new rails