bug in autoindex and listdir options