fix config of inactive devices