optimizing NOStore #38

adding error support