fix static usage