First, use a sufficiently large population size. Second, USPEX by default uses a powerful fingerprint niching method. Anything that increases diversity of the population will reduce the chances of trapping in a local minimum. To make sure that your simulation is not trapped, it is useful to run a second simulation with different parameters. Another powerful trick to avoid trapping is the antiseed technique.