Fix detect path
Fix detect path
Update doc