Minor parseInt error fix and formatting update