fix some undefine variable