kal math bug