Fixed the pickup item method