revert changes to path2model - breaks too many things