change the config.basedir to relative dir