fixed wrong part of code about store path