Fixed the weird error that made apache crash every second I think