Fixed browser closing issue
derp