fix up spec to remove warning