fix for strict warnings