Liutyi fixed bugs with exact stop in auto regim