Failed to resolve capture path on Mac
Some minor changes