Fixed little bug in auto complete