fixed HD detection