bug fix in basket