build warnings fix