codestylefixes
autocomplete runs command on click using provided index rather than the hover selected command