removing unused global