Added patch in config/initializers