remove unneeded as_slice()