fixing dir problem with updated main