Try to remake registration and updated the code