fixed useless var