removed wpdb global