fix clean error spec