fix unsafe option