fixed mysql errors #fuckyeah #pewpewpewpew