restored post moderation function