with this change there should be no need to reinit on every state change, this was the cause of missing devices after init