fix real_roots