fixed typo in flatten, add 'purist' library-global to override reply-conversion