moar path fixes, make edit work