fix error when delete kursus