Upon taking it back apart I found that there was not an exposed white wire I must have missed that part after I cut it on the small box it had went into a connector like the one on the red wire and didn’t realize it was secured with the other white wires
I’m a rookie sorry forst time doing anything wire related.
the fan works and lights work. So I guess I did it right ?