fix cause of some notices in press.php