bugfix: fix if condition
introduce projectRootID to use all over the code