move path compilation to path setter