wrong element access.  Corrected by Marco A.

Signed-off-by: AJ Rossini <blindglobe@gmail.com>