remove extra react internals for a tiny hack