Fix external code coverage issue