fixing runtime issues after refactorization, implemented Path TypeBinder