simplify call with array_get()

Signed-off-by: crynobone <crynobone@gmail.com>