Fixed tools not auto repairing them selves when db data is damaged

Fixed error string using wrong token id