fix for warning (mysqli).