fixed team permission issue
a few UI things