remove printing to cerr