Its a 2011 Santa Fe 2.2 CRDI

For a while now I have been having this issue with the remotes. It does not work! Have to press the button repeatedly to get it to unlock or lock. Also have to insert the remote into the key slot before you can start using the push button.
I have tried swapping the remotes and also got new batteries.
Any ideas please.