fix errant function spec