fix inconsistent spec