small fix
merged brandons mysqli fix in