fix for string conversion