fixed some callback issues for inventory slots