Fixed Dir not found Bug