I fixed some global stuff