fix wrong key name
fix auto complete api