bug fixed in Random Searching optimization method