changed some datatypes

has something wrong with  static class
need more experice using C++