trapped function name changed