bug fix

path without trailing / now looks for index.html also.