gcc warning fix: constructor variables not initialized in declared order
un/signed compare fix