fixed useless variable