fixing static class