bug fix for splitting array params