fix when closing fresher issue