bug fix with taking items