fix for else brick unchecking