Some changes in register-doesnt work