return object after setStorePath