show error messages when occur