fixed a bug in Neil's otherwise tidy hetero kernel.