modify core/Common.php to fix error about reference