fixes getRequests in getData.php