* fix bug: define not close