fixing "close basket and create basket group" feature