fixed appending of html table