fix static bug