Add missing segment definition

The variable segment here was not defined