fixed a few lagging things