fix sub dir ,add dir name / automatically