check object name

Signed-off-by: eggfly <lihaohua90@gmail.com>