clean up slice/string