remove dep on isarray