ur dumb this happens because the two inputs override the output
you need 3 nand gates to make a proper or gate
alright, thank you