slice not working trying gsub