Remove unneeded ref.
Clear textbox before page change.