fix types to avoid compiler warnings