exception on validation fixed

close #13