Bug fix on variable name for pubtime in store-post.