added fix for the change with optionals
Merge pull request #21 from hi3g/test_hsbase_store

added fix for the change with optionals