fixed some STRICT warnings