epics: fixed various warnings