fixed next trap