fixing resolv mkdir