Assigning Root when searching will not crash app