Directory listing fix