dispatch error basic handling