fixed issue #3 resetting browser