fix UI related warnings