modify xspeed.c main to manfang.