workaround for pass by strict warnings