fix alarm on/off retries
done