fix some things and input autocomplete