fixed fd nonsense, addressed #3
Merge pull request #1 from JustinSGray/master

fixed fd nonsense, addressed #3