fix closed items craziness