fixed admin_captive replaced by mysqli