add identity check

add identity check