Fixed autocomplete error, but it's still not working