applied patch
replace existing check.