fix typos from latest merge. finish sprintf-ying printModifyForm.