fix abort button problem