adjust filtering in add_post()