changed lambda in spec to pass ci