fixed double enter delete case