correct basedir