fixed basedir getter