Some broken validation with appray_map

Signed-off-by: emanuele <emanuele45@gmail.com>