Fixed error message on parsing a step size

the message was error parsing device number
Merge pull request #1571 from mstolt/patch-1

Fixed error message on parsing a step size