Typo in usage of variable substituion