fix warning of remove object_id

Signed-off-by: Wanzhang Sheng <ranmocy@gmail.com>