Created registertype
Use request stack
Fixed listener