fixed rails files