Fixed big error

Induced error by trying to be "smart". Fixed
Merge pull request #1 from DiegoPino/master

Fixed big error