print str concatenation errors fixed