check for obj._holes before accessing