fix failing specs on CI