fixed an issue in xAutoPartial