fixing stirng err