don't add classLoader to context in production mode