Fix qmod? Maybe