fixed build warnings