fixed a bug in rlsmix