Serious bug fix,was using item ID instead of item position, thanks snooplsm