bug fixed for In method