corrected a typo, added missing short-close