Fixed ringmodf and ringmod