updated some references to base.php