fix enter code on root