fix remaining spec test