fixing err_isolines - now it seems to work finally