made sure the measurement in SWAP is truly a string as required
Merge pull request #620 from wafels/fix_swap

made sure the measurement in SWAP is truly a string as required