pchart bug fixes