fixing path problems