fix type filter