# minor fix on the race condition for isHD