fix the bug in myposts and mycollection