improved kit validation
Merge pull request #189 from benoitmangili/add_kit_checking

improved kit validation