Fix setup (warnings and errors from page2.php)