removed unnecc. cerr line