still more tiny fixes
added something I saw on stackoverflow to resolve precompiling error with heroku