added check for postid