fixed filter related bugs (for default values)