remove meningless sanity check
fix bug