Fixed warning related to undefined parameter