improve autocomplete "../../.." behaviour