fixed multithreading it is not as derp now.