debug of the mathematical chest