Correction of the random move and of the detection of pheromones