fixed www/pages/predb.php