fixed chart formatting