fix some useless variable