fixed a bug with the basket import