Fix directory tab