Fixed broken retrieval of HTML pages