Decoding handler id