HOTFIX: corrected bug in string manipulations

Sorry guys, I hope this will be the last hotfix..