bugfix autofill detection