fix #20: add before_validaiton and validaiton minimum length 1
Merge pull request #21 from esehara/bugfix/zerobyte-not-save

fix #20: add before_validaiton and validaiton minimum length 1