compiler warning fixed