modify by dongsheng wei on Jul 5, 2014