fixed browser navigation with error pages and cover

resolves #36, #33