fixed registering

Signed-off-by: Karl Merkli <info@karl-merkli.ch>
optimizing

Signed-off-by: Karl Merkli <info@karl-merkli.ch>
for ie support

Signed-off-by: Karl Merkli <info@karl-merkli.ch>