Detect location finish