fixing missing type in filter