Make strings safe