changed wrong namings on Base.php