Fix module subst double equal bug