Debugging the auto complete feature