[minor]: removed duplicate local definition.