Fixed get -> toArray call