fixed a routing error after adding a post