fixed null reference error when no options is specified in put function.
Merge pull request #3 from zdebeer99/master

fixed null reference error when no options is specified in put function.