fixed a malformed html bug