fix a couple strict warnings