added $ to input on line 118

there was a missing $ before he input resulting in it being undefined
Merge pull request #103 from cultofmetatron/patch-1

added $ to input on line 118