fix error message caused by extended.php