get rid of a useless variable