fixed some odd things about paths