fix cli constant lookup