fix array notations

Signed-off-by: Thomas Warlop <thomas.warlop@gmail.com>