heterogenity fix