bug fix where time set alarm insertion causes a column mismatch error