fixed bug with obtaining store object