fixed local build warnings