Fixed some path bugs.