fixing alarm delay at first time fire off