Registration of metadata.php fixed