fix defvar problem