fixed output in alarm