use error stream to print error