fix that error is thrown on invalid object properties while storing item