Fixed passing of autoindex param to default location