fixed checks in mpm modules