changes to Parsehtml