fixed spacing issues with the autocomplete rule