fixed a bug in C-FIND