Plot hole in ending? (spoilers)
Despite the plot contrivances, I found myself enjoying this film very much, which made the twist ending such a frustration. Why must good movies blow it all with a twist ending just for the sake of having a twist ending? It reminds me of "Frailty" a couple of years ago.
Anyway, the ending doesn't make sense to me. If the man at the door is the real Avery, then who is James Earl Jones's character? The only likely explanation is that he is Victor, the brother-in-law, which would explain why he knew the granddaughter's birthday. But if that's true, how did the real Avery show up at the door only a minute after Victor left? Surely Victor wouldn't have told him about Tepper's message if Victor's plan was to acquire that lottery ticket. What did I miss?
And another gripe about the ending: All through the movie, no one can get into the building (except the cops of course) without being buzzed in with the intercom. Yet the real Avery just knocks on Tepper's door, because of course if he used the intercom first, the twist ending wouldn't happen. Blah.