fix problem with default local directory

fix problem with default local directory