If the remote works sometimes it could be that the receiver is getting too hot. I have a 522 and if I don't keep a fan on it, it will get warm and the second remote will not work....but after you cool the receiver down it works fine.
Just a suggestion, it worked in my situation.