fix bug while find file