fixing logged bool