cleaning up configuration for sonata