delete log and unuseful code
real time search