Fixes #10
format fix
Merge pull request #11 from mailtank-ru/10-validationFix

Fixes #10