change version of thread_safe for pre-heroku push