Connecting the qcw to my y rails whats bolt size do i need

I misplace my bolts what size do i need to connect the Y rails to my QCW ?

i found the list of common bolts it says m5 16 long i bought m5 16 mm but they are too short and when i tried to just put them in the QCW they are too loose

thanks for any help