disable some functions.

Signed-off-by: Chen Liang <leungchen921@gmail.com>