Fix array functions call