How can i fix the logic contract in proxy contract so that proxy contract can delegatecall to logic contract's function?

You're not using proxies correctly. You should be using the ERC1967Proxy contract, without changes. You will find this contract in the openzeppelin-contracts repository and not in openzeppelin-contracts-upgradeable.

For how to use UUPSUpgradeable please refer to: