Fix some production errors.