removed dump and fixed error message retrieval to use dots instead of underscores