fix type in filter