fix some strict warnings