fix issue in stringextensions