fixed some path problems