Corrected inputs to finalString