add some check