fix static calls