bean config changed for annotation