fix undefine

Signed-off-by: Yen-Chin Lee <coldnew.tw@gmail.com>