try to improve the performance of Except operation