fix apcupsd properly