filter safemalloc added