Fixed error msg typo in xtools.