fix static references access control