That certain things in the films don’t make sense because the EU says they don’t.
For example, the EU said that the Rule of Two was created at the same as the Sith disappearing, while in the movies by themselves, Yoda knowing about the Rule of Two makes perfect sense.