remove unused unsafes