fixed rounding problem while initializing