correcting ph error bar