fixed cerr