Fixing a few things to make getposts work