fix error message (should be debug)