changes to avoid compiler warning