returning if post object not set, will fix some errors. I don't believe it should cause any breakage but I have not tested.