refactor the meta field of post and message