I was trying to install a ceiling fan in my new home. The home is prewired for ceiling fan install. It has the pancake box. However, the 2 screws that are going to hold the mounting bracket are not through a threaded screw hole. The screw appears to be fastened to the wood above the pancake box.
I saw many videos on how to install and in all of them, the screw that holds the mounting is through a threaded screw hole. In my case it is directly screwed to the stud above the pancake box.
Please see the pic attached. Is it okay to fasten the mounting bracket that way? Please see the picture attached and the screws are the black screws I am referring to.