Fixed error with the substring length which casued an exception if the
body was less than 120 charcaters.