removed a redundant html serialisation.