fixed a routing error after adding a post
Merge pull request #2 from alexp/general-fixes

fixed a routing error after adding a post