fix printing resource amount

fix for item replacings