fixed check-print.php