some fixes about warnings