fix spec failures