fixed crash when using certain filters