SCRdensity fix from Josh