moved post_comment()  out of inner loop.