some correction on directories