handling and decoding alert. issue #27