errobar drawing fixed