fix bug in thread.html form tag