modify options for output error info