index cannot be None in display_actions anyway, so make it required