changed beans scope