Fixed a tiny mistake when assigning $finalString