remove unused namespaces in spring config