fix problem with default local directory