fix some not used var