fixed a silly typo in close_image()