try to fix exception after remove mod