trying to fix lags