array type fix + literal class ref fix

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