fixed deepset bug with arrays