fix completion for avail packages