fix mod issue