Fix fail on uninitted case