show console when xml is not valid