removed a useless variable