Fixed cann't get file or folder properties.