rewrote remove-danger in nanopass.