refactored form autocomplete() to the correct autocomplete_array()