Cleaning code in Serch.c