fix module path when as subdirectory