removed some useless variable