removing unused C vars