Patch glaring bug. Better fix later.