fixed post/:id problem