Fix directory details view