fix fore python3 (filter list)