However , allegations of electoral fraud during local elections in 2002 - 3 and the presidential elections in 2005 exposed the weaknesses of formal political structures in Gabon .