removed stderr writes