fix for error bar plots