fix action and add race and type