right click abort function