addresses #39 - Auto complete now works with spaces