bug fixed

fixed :
  random search is fine now

add :
  error display
  distance display