Change local to bean