modify some code for my machine settings, can stand.