fix issue #5 console crashes on 'filter'