corrects errors in the string length and Settings folder added to ExePath