redirect error path to root_path