fix for rails server