fixed wmc loading bug after upgrade