Fixed length validator's error message
Fixed codestyle
Merge pull request #249 from l2avenholm/master

Fixed length validator's error message