fix strict warnings