fix completion bug for directory listing