trying to fix lag