fix for mysqli