Fix random spec and a broken view