removing stdout log
handing errors