before gui speedup
gui speed up