Fixed bug in alarm throw