fix for array params