working autocomplete
still working on double image saving bug