fixed hidden widget and reimplemented autocomplete-with-links