fix to log bool