fixed some little chart problems