view init
registration fix