fix thread, rasterization