fix Dir case