removes over zealous array casting