#1 #6 a better id filtering