clean up syntax error with wpdb->prepare

a bit of a workaround, but clean up a warning