fix change dirs
refs #79