fixed a few issues with paths