we found that our trap vector is not initialized properly