fix static decl