fix basic logging of errors
remove logger extend