missing check for static class constructor