cleaner handling of no_refine option