Return string if string needed

Do not return an array if string needed
Merge pull request #6 from Rahe/patch-1

Return string if string needed