load constants properly