fixing paths errors