add root_path to footer & header