fix memory issue, sidebar.php is only used for template structure