fix bug of cepass.cpp