pie graph fixes