Fix range 0-9 of external set internal_device