Added assignment of slave->present value after slave detection