Fix tools error message warning order