fix bug after a bash completion