make slice support strings