upd rdm

fixed all problems