If you pull the stock, the safety action and sear engagement with the hammer are clearly visible. Try cocking the gun. If the problem is with the safety function, the problem should be obvious. If the hammer doesn't move back far enough to allow the sear to engage, the problem could be that...