fixed signs for other versions
Merge pull request #552 from adamarla/master

fixed signs for other versions