20140521

change the mistake of the algorithm