Fixed error caused by autocomplete fix