show error message when assert