Fixes a problem with data.php