Fix a minor bug in caviar.php