fixed bug in posts' urls