fixed bug: updating of bool-variables
fixed bug: updating of bool-variables