Fixed accessing of local constants