remove unused global

Remove unused global variable