fix crash with LIGH. TODO: remove the whold unneeded laggy section, and fix infinite bluescreen loop