fixed issue

define critical value