conditional errprints to stderr