kill read_only, use mode instead