Hardware object allocation fix