better dependency for ems server