filter out non-twi devices
identation fix