add an extra check on inventory sync