Fixed bug for match in current directory.