fixed minor bug in queue_process.php