use .dup to not send frozen strings into method that modifies args
Merge pull request #188 from ellemenno/PBG-FixVersionCompare

use .dup to not send frozen strings into method that modifies args