fixes for missing get_basedir in reader