string conversion fixes