fixed prepare wpdb second argument issue.