fixes directory details being cut off