fixes in item validation
Merge pull request #1211 from nabinhait/hotfix

fixes in item validation