fix some paths and enable debug