fix fs exists problem