fix case of the `basedir` setting