no more internal server errorr if there aren't any tables