fix emc depends