autocomplete returning json but not completing