fix cause of some notices in press.php
Merge pull request #102 from Thoronador/fix-warnings

fix cause of some notices in press.php