Remove not needed devices