added base_path to layout