change actionCode to actionId