Correct my silly substring mistake.