Fix client side appending issue (complete html was rewritten)