fixed wmc loading bug