fixing spring config