fix compilation error static -> const