Ratto: 49ers have flaws they need to address