EPICS: fix some warnings