build warnings fixed