fix work bin crash when file not exist