resolve dialog error