fix an evil bug