clean up the variables added to  for PostList and PostDetail
merge