fix dumb bugs in test-browser