allow index on non-terminal