fix project hierarchy bug with config variable