debugging stuff+ lag fixes