finish correcting paths. fixes #1776.