fixed all processes to send error messages to stderr stream