fix bool var