fixed array initialization & args reading