fix a little toolbar bug