remove add to compare

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