Fixed bug. Variable dt_cst does not exist now