fix accessing static fields inherited from interfaces