rework xbee_user: remove the foreground param