bugfix filterDevice()

solve #40