improving definition of constants
fix spelling error