rm no used function in traps.spp