add better error handling to STDERR