fix string problems