fixes #121
adds validation errors, fixes #121
Merge pull request #122 from LegoStormtroopr/header_fix

Header fix