modify schema; fix a bug when view posts by tag