fix warinings in cli mode