Fix the spec that causes an encoder error