fix bug in filters initialization.