Fixed not working static class