fix the bug that can exit peagun