fix post and thread model