fix notfound() and notfound.php for index content and add null parameter