removing useless extern