fix a bug when register user bu shopping