+ fix undefined bug