Fixing some errors

Thanks @thunsaker for the messages.
Merge pull request #7 from juanda95/master

Fixing some errors