fixes for polyseq and rndi