fixing autoindex