hotfix for keypeg.tostring