directory fixes