if registering read fails free the userdata
fix how we submit values