fix string operation