bug fix on calendar and gateway led interface