Fix typo in variable name causing error with formatting add network request