fix "mod"