small updates to construct path