improve error handling failed to extract munge