invalidate bug fix, static chart feature added