fix to remove compiler warning