delete bad frame