fixed delete min bug