Correcting reference to post_target outside of defined scope.