Fix rng empty shape